package com.gnerv.sylvanas.deploy.controller;

import com.gnerv.sylvanas.deploy.model.dto.DeployDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping(value = "/api/deploy")
public class DeployController {

    @RequestMapping(method = RequestMethod.POST, produces= MediaType.APPLICATION_FORM_URLENCODED_VALUE)
    public void uploadFile(DeployDTO deployDTO) {
        log.info("upload deploy file");
    }

}
